package com.feioou.blogdemo.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: chenyingjie
 * @create: 2019-11-26 16:18
 **/
@Component
@ConfigurationProperties("storage")
public class StorageProperties {

    private String location = "upload";

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
}
